package com.teamall.web.fpxm.db.arg;

import java.util.*;
import java.math.*;
import org.apache.commons.lang.*;

public class CodeAidProjectArg {
    private String pk_name = "project_id";

    private String orderByClause;

    private String groupByClause;

    private String columns;

    private String countsql1;

    private String countsql2;

    private boolean distinct;

    private int rowStart = 0;

    private int rowEnd = 10;

    private List<CodeAidProjectCriteria> oredCriteria;

    public CodeAidProjectArg() {
        oredCriteria = new ArrayList<CodeAidProjectCriteria>();
    }

    public void setPk_name(String pk_name) {
        this.pk_name = StringEscapeUtils.escapeSql(pk_name);
    }

    public String getPk_name() {
        return pk_name;
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = StringEscapeUtils.escapeSql(orderByClause);
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setGroupByClause(String groupByClause) {
        this.groupByClause = StringEscapeUtils.escapeSql(groupByClause);
    }

    public String geGroupByClause() {
        return groupByClause;
    }

    public void setColumns(String columns) {
        this.columns = StringEscapeUtils.escapeSql(columns);
    }

    public String geColumns() {
        return columns;
    }

    public void setCountsql1(String countsql1) {
        this.countsql1 = StringEscapeUtils.escapeSql(countsql1);
    }

    public String geCountsql1() {
        return countsql1;
    }

    public void setCountsql2(String countsql2) {
        this.countsql2 = StringEscapeUtils.escapeSql(countsql2);
    }

    public String geCountsql2() {
        return countsql2;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public void setRowStart(int rowStart) {
        this.rowStart = rowStart;
    }

    public void setRowEnd(int rowEnd) {
        this.rowEnd = rowEnd;
    }

    public int getRowStart() {
        return rowStart;
    }

    public int getRowEnd() {
        return rowEnd;
    }

    public List<CodeAidProjectCriteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(CodeAidProjectCriteria criteria) {
        oredCriteria.add(criteria);
    }

    public CodeAidProjectCriteria or() {
    	CodeAidProjectCriteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public CodeAidProjectCriteria createCriteria() {
    	CodeAidProjectCriteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected CodeAidProjectCriteria createCriteriaInternal() {
    	CodeAidProjectCriteria criteria = new CodeAidProjectCriteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        groupByClause = null;
        columns = null;
        countsql1 = null;
        countsql2 = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<CodeAidProjectCriterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<CodeAidProjectCriterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<CodeAidProjectCriterion> getAllCriteria() {
            return criteria;
        }

        public List<CodeAidProjectCriterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new CodeAidProjectCriterion(condition));
        }

        protected void addCriterion(String condition, Object value,
                String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property
                        + " cannot be null");
            }
            criteria.add(new CodeAidProjectCriterion(condition, value));
        }

        protected void addCriterion(String condition, Object value,
                String property, int likeType) {
            if (value == null) {
                throw new RuntimeException("Value for " + property
                        + " cannot be null");
            }
            criteria.add(new CodeAidProjectCriterion(condition, value, likeType));
        }

        protected void addCriterion(String condition, Object value1,
                Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property
                        + " cannot be null");
            }
            criteria.add(new CodeAidProjectCriterion(condition, value1, value2));
        }

        public CodeAidProjectCriteria andCriterionEqualTo(String criterion) {
            if (StringUtils.isBlank(criterion)) {
                criterion = "1=1";
            }
            addCriterion(criterion);
            return (CodeAidProjectCriteria) this;
        }
        public CodeAidProjectCriteria andProjectIdIsNull() {
            addCriterion("project_id is null");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectIdIsNotNull() {
            addCriterion("project_id is not null");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectIdEqualTo(Integer value) {
            addCriterion("project_id =", value, "project_id");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectIdNotEqualTo(Integer value) {
            addCriterion("project_id <>", value, "project_id");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectIdGreaterThan(Integer value) {
            addCriterion("project_id >", value, "project_id");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("project_id >=", value, "project_id");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectIdLessThan(Integer value) {
            addCriterion("project_id <", value, "project_id");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectIdLessThanOrEqualTo(Integer value) {
            addCriterion("project_id <=", value, "project_id");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectIdLike(Integer value) {
            addCriterion("project_id like ", value, "project_id", 1);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectIdNotLike(Integer value) {
            addCriterion("project_id  not like ", value, "project_id", 1);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectIdLeftLike(Integer value) {
            addCriterion("project_id like ", value, "project_id", 0);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectIdNotLeftLike(Integer value) {
            addCriterion("project_id  not like ", value, "project_id", 0);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectIdRightLike(Integer value) {
            addCriterion("project_id like ", value, "project_id", 2);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectIdNotRightLike(Integer value) {
            addCriterion("project_id  not like ", value, "project_id", 2);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectIdIn(List<Integer> values) {
            addCriterion("project_id  in ", values, "project_id");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectIdNotIn(List<Integer> values) {
            addCriterion("project_id not in ", values, "project_id");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectIdBetween(Integer value1, Integer value2) {
            addCriterion("project_id between ", value1, value2, "project_id");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectIdNotBetween(Integer value1, Integer value2) {
            addCriterion("project_id not between ", value1, value2, "project_id");
            return (CodeAidProjectCriteria) this;
        }
        public CodeAidProjectCriteria andProjectCodeIsNull() {
            addCriterion("project_code is null");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectCodeIsNotNull() {
            addCriterion("project_code is not null");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectCodeEqualTo(Integer value) {
            addCriterion("project_code =", value, "project_code");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectCodeNotEqualTo(Integer value) {
            addCriterion("project_code <>", value, "project_code");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectCodeGreaterThan(Integer value) {
            addCriterion("project_code >", value, "project_code");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectCodeGreaterThanOrEqualTo(Integer value) {
            addCriterion("project_code >=", value, "project_code");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectCodeLessThan(Integer value) {
            addCriterion("project_code <", value, "project_code");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectCodeLessThanOrEqualTo(Integer value) {
            addCriterion("project_code <=", value, "project_code");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectCodeLike(Integer value) {
            addCriterion("project_code like ", value, "project_code", 1);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectCodeNotLike(Integer value) {
            addCriterion("project_code  not like ", value, "project_code", 1);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectCodeLeftLike(Integer value) {
            addCriterion("project_code like ", value, "project_code", 0);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectCodeNotLeftLike(Integer value) {
            addCriterion("project_code  not like ", value, "project_code", 0);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectCodeRightLike(Integer value) {
            addCriterion("project_code like ", value, "project_code", 2);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectCodeNotRightLike(Integer value) {
            addCriterion("project_code  not like ", value, "project_code", 2);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectCodeIn(List<Integer> values) {
            addCriterion("project_code  in ", values, "project_code");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectCodeNotIn(List<Integer> values) {
            addCriterion("project_code not in ", values, "project_code");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectCodeBetween(Integer value1, Integer value2) {
            addCriterion("project_code between ", value1, value2, "project_code");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectCodeNotBetween(Integer value1, Integer value2) {
            addCriterion("project_code not between ", value1, value2, "project_code");
            return (CodeAidProjectCriteria) this;
        }
        public CodeAidProjectCriteria andProjectNameIsNull() {
            addCriterion("project_name is null");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectNameIsNotNull() {
            addCriterion("project_name is not null");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectNameEqualTo(String value) {
            addCriterion("project_name =", value, "project_name");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectNameNotEqualTo(String value) {
            addCriterion("project_name <>", value, "project_name");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectNameGreaterThan(String value) {
            addCriterion("project_name >", value, "project_name");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectNameGreaterThanOrEqualTo(String value) {
            addCriterion("project_name >=", value, "project_name");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectNameLessThan(String value) {
            addCriterion("project_name <", value, "project_name");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectNameLessThanOrEqualTo(String value) {
            addCriterion("project_name <=", value, "project_name");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectNameLike(String value) {
            addCriterion("project_name like ", value, "project_name", 1);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectNameNotLike(String value) {
            addCriterion("project_name  not like ", value, "project_name", 1);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectNameLeftLike(String value) {
            addCriterion("project_name like ", value, "project_name", 0);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectNameNotLeftLike(String value) {
            addCriterion("project_name  not like ", value, "project_name", 0);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectNameRightLike(String value) {
            addCriterion("project_name like ", value, "project_name", 2);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectNameNotRightLike(String value) {
            addCriterion("project_name  not like ", value, "project_name", 2);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectNameIn(List<String> values) {
            addCriterion("project_name  in ", values, "project_name");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectNameNotIn(List<String> values) {
            addCriterion("project_name not in ", values, "project_name");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectNameBetween(String value1, String value2) {
            addCriterion("project_name between ", value1, value2, "project_name");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectNameNotBetween(String value1, String value2) {
            addCriterion("project_name not between ", value1, value2, "project_name");
            return (CodeAidProjectCriteria) this;
        }
        public CodeAidProjectCriteria andProjectTypeIsNull() {
            addCriterion("project_type is null");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectTypeIsNotNull() {
            addCriterion("project_type is not null");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectTypeEqualTo(Integer value) {
            addCriterion("project_type =", value, "project_type");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectTypeNotEqualTo(Integer value) {
            addCriterion("project_type <>", value, "project_type");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectTypeGreaterThan(Integer value) {
            addCriterion("project_type >", value, "project_type");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("project_type >=", value, "project_type");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectTypeLessThan(Integer value) {
            addCriterion("project_type <", value, "project_type");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectTypeLessThanOrEqualTo(Integer value) {
            addCriterion("project_type <=", value, "project_type");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectTypeLike(Integer value) {
            addCriterion("project_type like ", value, "project_type", 1);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectTypeNotLike(Integer value) {
            addCriterion("project_type  not like ", value, "project_type", 1);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectTypeLeftLike(Integer value) {
            addCriterion("project_type like ", value, "project_type", 0);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectTypeNotLeftLike(Integer value) {
            addCriterion("project_type  not like ", value, "project_type", 0);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectTypeRightLike(Integer value) {
            addCriterion("project_type like ", value, "project_type", 2);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectTypeNotRightLike(Integer value) {
            addCriterion("project_type  not like ", value, "project_type", 2);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectTypeIn(List<Integer> values) {
            addCriterion("project_type  in ", values, "project_type");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectTypeNotIn(List<Integer> values) {
            addCriterion("project_type not in ", values, "project_type");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectTypeBetween(Integer value1, Integer value2) {
            addCriterion("project_type between ", value1, value2, "project_type");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("project_type not between ", value1, value2, "project_type");
            return (CodeAidProjectCriteria) this;
        }
        public CodeAidProjectCriteria andProjectTypeNameIsNull() {
            addCriterion("project_type_name is null");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectTypeNameIsNotNull() {
            addCriterion("project_type_name is not null");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectTypeNameEqualTo(String value) {
            addCriterion("project_type_name =", value, "project_type_name");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectTypeNameNotEqualTo(String value) {
            addCriterion("project_type_name <>", value, "project_type_name");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectTypeNameGreaterThan(String value) {
            addCriterion("project_type_name >", value, "project_type_name");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectTypeNameGreaterThanOrEqualTo(String value) {
            addCriterion("project_type_name >=", value, "project_type_name");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectTypeNameLessThan(String value) {
            addCriterion("project_type_name <", value, "project_type_name");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectTypeNameLessThanOrEqualTo(String value) {
            addCriterion("project_type_name <=", value, "project_type_name");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectTypeNameLike(String value) {
            addCriterion("project_type_name like ", value, "project_type_name", 1);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectTypeNameNotLike(String value) {
            addCriterion("project_type_name  not like ", value, "project_type_name", 1);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectTypeNameLeftLike(String value) {
            addCriterion("project_type_name like ", value, "project_type_name", 0);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectTypeNameNotLeftLike(String value) {
            addCriterion("project_type_name  not like ", value, "project_type_name", 0);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectTypeNameRightLike(String value) {
            addCriterion("project_type_name like ", value, "project_type_name", 2);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectTypeNameNotRightLike(String value) {
            addCriterion("project_type_name  not like ", value, "project_type_name", 2);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectTypeNameIn(List<String> values) {
            addCriterion("project_type_name  in ", values, "project_type_name");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectTypeNameNotIn(List<String> values) {
            addCriterion("project_type_name not in ", values, "project_type_name");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectTypeNameBetween(String value1, String value2) {
            addCriterion("project_type_name between ", value1, value2, "project_type_name");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectTypeNameNotBetween(String value1, String value2) {
            addCriterion("project_type_name not between ", value1, value2, "project_type_name");
            return (CodeAidProjectCriteria) this;
        }
        public CodeAidProjectCriteria andProjectSubTypeIsNull() {
            addCriterion("project_sub_type is null");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectSubTypeIsNotNull() {
            addCriterion("project_sub_type is not null");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectSubTypeEqualTo(Integer value) {
            addCriterion("project_sub_type =", value, "project_sub_type");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectSubTypeNotEqualTo(Integer value) {
            addCriterion("project_sub_type <>", value, "project_sub_type");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectSubTypeGreaterThan(Integer value) {
            addCriterion("project_sub_type >", value, "project_sub_type");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectSubTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("project_sub_type >=", value, "project_sub_type");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectSubTypeLessThan(Integer value) {
            addCriterion("project_sub_type <", value, "project_sub_type");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectSubTypeLessThanOrEqualTo(Integer value) {
            addCriterion("project_sub_type <=", value, "project_sub_type");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectSubTypeLike(Integer value) {
            addCriterion("project_sub_type like ", value, "project_sub_type", 1);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectSubTypeNotLike(Integer value) {
            addCriterion("project_sub_type  not like ", value, "project_sub_type", 1);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectSubTypeLeftLike(Integer value) {
            addCriterion("project_sub_type like ", value, "project_sub_type", 0);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectSubTypeNotLeftLike(Integer value) {
            addCriterion("project_sub_type  not like ", value, "project_sub_type", 0);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectSubTypeRightLike(Integer value) {
            addCriterion("project_sub_type like ", value, "project_sub_type", 2);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectSubTypeNotRightLike(Integer value) {
            addCriterion("project_sub_type  not like ", value, "project_sub_type", 2);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectSubTypeIn(List<Integer> values) {
            addCriterion("project_sub_type  in ", values, "project_sub_type");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectSubTypeNotIn(List<Integer> values) {
            addCriterion("project_sub_type not in ", values, "project_sub_type");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectSubTypeBetween(Integer value1, Integer value2) {
            addCriterion("project_sub_type between ", value1, value2, "project_sub_type");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectSubTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("project_sub_type not between ", value1, value2, "project_sub_type");
            return (CodeAidProjectCriteria) this;
        }
        public CodeAidProjectCriteria andProjectSubTypeNameIsNull() {
            addCriterion("project_sub_type_name is null");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectSubTypeNameIsNotNull() {
            addCriterion("project_sub_type_name is not null");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectSubTypeNameEqualTo(String value) {
            addCriterion("project_sub_type_name =", value, "project_sub_type_name");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectSubTypeNameNotEqualTo(String value) {
            addCriterion("project_sub_type_name <>", value, "project_sub_type_name");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectSubTypeNameGreaterThan(String value) {
            addCriterion("project_sub_type_name >", value, "project_sub_type_name");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectSubTypeNameGreaterThanOrEqualTo(String value) {
            addCriterion("project_sub_type_name >=", value, "project_sub_type_name");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectSubTypeNameLessThan(String value) {
            addCriterion("project_sub_type_name <", value, "project_sub_type_name");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectSubTypeNameLessThanOrEqualTo(String value) {
            addCriterion("project_sub_type_name <=", value, "project_sub_type_name");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectSubTypeNameLike(String value) {
            addCriterion("project_sub_type_name like ", value, "project_sub_type_name", 1);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectSubTypeNameNotLike(String value) {
            addCriterion("project_sub_type_name  not like ", value, "project_sub_type_name", 1);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectSubTypeNameLeftLike(String value) {
            addCriterion("project_sub_type_name like ", value, "project_sub_type_name", 0);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectSubTypeNameNotLeftLike(String value) {
            addCriterion("project_sub_type_name  not like ", value, "project_sub_type_name", 0);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectSubTypeNameRightLike(String value) {
            addCriterion("project_sub_type_name like ", value, "project_sub_type_name", 2);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectSubTypeNameNotRightLike(String value) {
            addCriterion("project_sub_type_name  not like ", value, "project_sub_type_name", 2);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectSubTypeNameIn(List<String> values) {
            addCriterion("project_sub_type_name  in ", values, "project_sub_type_name");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectSubTypeNameNotIn(List<String> values) {
            addCriterion("project_sub_type_name not in ", values, "project_sub_type_name");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectSubTypeNameBetween(String value1, String value2) {
            addCriterion("project_sub_type_name between ", value1, value2, "project_sub_type_name");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectSubTypeNameNotBetween(String value1, String value2) {
            addCriterion("project_sub_type_name not between ", value1, value2, "project_sub_type_name");
            return (CodeAidProjectCriteria) this;
        }
        public CodeAidProjectCriteria andStateIsNull() {
            addCriterion("state is null");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andStateIsNotNull() {
            addCriterion("state is not null");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andStateEqualTo(Integer value) {
            addCriterion("state =", value, "state");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andStateNotEqualTo(Integer value) {
            addCriterion("state <>", value, "state");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andStateGreaterThan(Integer value) {
            addCriterion("state >", value, "state");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andStateGreaterThanOrEqualTo(Integer value) {
            addCriterion("state >=", value, "state");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andStateLessThan(Integer value) {
            addCriterion("state <", value, "state");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andStateLessThanOrEqualTo(Integer value) {
            addCriterion("state <=", value, "state");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andStateLike(Integer value) {
            addCriterion("state like ", value, "state", 1);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andStateNotLike(Integer value) {
            addCriterion("state  not like ", value, "state", 1);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andStateLeftLike(Integer value) {
            addCriterion("state like ", value, "state", 0);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andStateNotLeftLike(Integer value) {
            addCriterion("state  not like ", value, "state", 0);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andStateRightLike(Integer value) {
            addCriterion("state like ", value, "state", 2);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andStateNotRightLike(Integer value) {
            addCriterion("state  not like ", value, "state", 2);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andStateIn(List<Integer> values) {
            addCriterion("state  in ", values, "state");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andStateNotIn(List<Integer> values) {
            addCriterion("state not in ", values, "state");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andStateBetween(Integer value1, Integer value2) {
            addCriterion("state between ", value1, value2, "state");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andStateNotBetween(Integer value1, Integer value2) {
            addCriterion("state not between ", value1, value2, "state");
            return (CodeAidProjectCriteria) this;
        }
        public CodeAidProjectCriteria andStateNameIsNull() {
            addCriterion("state_name is null");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andStateNameIsNotNull() {
            addCriterion("state_name is not null");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andStateNameEqualTo(String value) {
            addCriterion("state_name =", value, "state_name");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andStateNameNotEqualTo(String value) {
            addCriterion("state_name <>", value, "state_name");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andStateNameGreaterThan(String value) {
            addCriterion("state_name >", value, "state_name");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andStateNameGreaterThanOrEqualTo(String value) {
            addCriterion("state_name >=", value, "state_name");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andStateNameLessThan(String value) {
            addCriterion("state_name <", value, "state_name");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andStateNameLessThanOrEqualTo(String value) {
            addCriterion("state_name <=", value, "state_name");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andStateNameLike(String value) {
            addCriterion("state_name like ", value, "state_name", 1);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andStateNameNotLike(String value) {
            addCriterion("state_name  not like ", value, "state_name", 1);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andStateNameLeftLike(String value) {
            addCriterion("state_name like ", value, "state_name", 0);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andStateNameNotLeftLike(String value) {
            addCriterion("state_name  not like ", value, "state_name", 0);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andStateNameRightLike(String value) {
            addCriterion("state_name like ", value, "state_name", 2);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andStateNameNotRightLike(String value) {
            addCriterion("state_name  not like ", value, "state_name", 2);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andStateNameIn(List<String> values) {
            addCriterion("state_name  in ", values, "state_name");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andStateNameNotIn(List<String> values) {
            addCriterion("state_name not in ", values, "state_name");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andStateNameBetween(String value1, String value2) {
            addCriterion("state_name between ", value1, value2, "state_name");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andStateNameNotBetween(String value1, String value2) {
            addCriterion("state_name not between ", value1, value2, "state_name");
            return (CodeAidProjectCriteria) this;
        }
        public CodeAidProjectCriteria andBeginDateIsNull() {
            addCriterion("begin_date is null");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andBeginDateIsNotNull() {
            addCriterion("begin_date is not null");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andBeginDateEqualTo(Date value) {
            addCriterion("begin_date =", value, "begin_date");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andBeginDateNotEqualTo(Date value) {
            addCriterion("begin_date <>", value, "begin_date");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andBeginDateGreaterThan(Date value) {
            addCriterion("begin_date >", value, "begin_date");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andBeginDateGreaterThanOrEqualTo(Date value) {
            addCriterion("begin_date >=", value, "begin_date");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andBeginDateLessThan(Date value) {
            addCriterion("begin_date <", value, "begin_date");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andBeginDateLessThanOrEqualTo(Date value) {
            addCriterion("begin_date <=", value, "begin_date");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andBeginDateLike(Date value) {
            addCriterion("begin_date like ", value, "begin_date", 1);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andBeginDateNotLike(Date value) {
            addCriterion("begin_date  not like ", value, "begin_date", 1);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andBeginDateLeftLike(Date value) {
            addCriterion("begin_date like ", value, "begin_date", 0);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andBeginDateNotLeftLike(Date value) {
            addCriterion("begin_date  not like ", value, "begin_date", 0);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andBeginDateRightLike(Date value) {
            addCriterion("begin_date like ", value, "begin_date", 2);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andBeginDateNotRightLike(Date value) {
            addCriterion("begin_date  not like ", value, "begin_date", 2);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andBeginDateIn(List<Date> values) {
            addCriterion("begin_date  in ", values, "begin_date");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andBeginDateNotIn(List<Date> values) {
            addCriterion("begin_date not in ", values, "begin_date");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andBeginDateBetween(Date value1, Date value2) {
            addCriterion("begin_date between ", value1, value2, "begin_date");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andBeginDateNotBetween(Date value1, Date value2) {
            addCriterion("begin_date not between ", value1, value2, "begin_date");
            return (CodeAidProjectCriteria) this;
        }
        public CodeAidProjectCriteria andEndDateIsNull() {
            addCriterion("end_date is null");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andEndDateIsNotNull() {
            addCriterion("end_date is not null");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andEndDateEqualTo(Date value) {
            addCriterion("end_date =", value, "end_date");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andEndDateNotEqualTo(Date value) {
            addCriterion("end_date <>", value, "end_date");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andEndDateGreaterThan(Date value) {
            addCriterion("end_date >", value, "end_date");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andEndDateGreaterThanOrEqualTo(Date value) {
            addCriterion("end_date >=", value, "end_date");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andEndDateLessThan(Date value) {
            addCriterion("end_date <", value, "end_date");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andEndDateLessThanOrEqualTo(Date value) {
            addCriterion("end_date <=", value, "end_date");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andEndDateLike(Date value) {
            addCriterion("end_date like ", value, "end_date", 1);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andEndDateNotLike(Date value) {
            addCriterion("end_date  not like ", value, "end_date", 1);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andEndDateLeftLike(Date value) {
            addCriterion("end_date like ", value, "end_date", 0);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andEndDateNotLeftLike(Date value) {
            addCriterion("end_date  not like ", value, "end_date", 0);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andEndDateRightLike(Date value) {
            addCriterion("end_date like ", value, "end_date", 2);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andEndDateNotRightLike(Date value) {
            addCriterion("end_date  not like ", value, "end_date", 2);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andEndDateIn(List<Date> values) {
            addCriterion("end_date  in ", values, "end_date");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andEndDateNotIn(List<Date> values) {
            addCriterion("end_date not in ", values, "end_date");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andEndDateBetween(Date value1, Date value2) {
            addCriterion("end_date between ", value1, value2, "end_date");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andEndDateNotBetween(Date value1, Date value2) {
            addCriterion("end_date not between ", value1, value2, "end_date");
            return (CodeAidProjectCriteria) this;
        }
        public CodeAidProjectCriteria andTotalInvestIsNull() {
            addCriterion("total_invest is null");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andTotalInvestIsNotNull() {
            addCriterion("total_invest is not null");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andTotalInvestEqualTo(BigDecimal value) {
            addCriterion("total_invest =", value, "total_invest");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andTotalInvestNotEqualTo(BigDecimal value) {
            addCriterion("total_invest <>", value, "total_invest");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andTotalInvestGreaterThan(BigDecimal value) {
            addCriterion("total_invest >", value, "total_invest");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andTotalInvestGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("total_invest >=", value, "total_invest");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andTotalInvestLessThan(BigDecimal value) {
            addCriterion("total_invest <", value, "total_invest");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andTotalInvestLessThanOrEqualTo(BigDecimal value) {
            addCriterion("total_invest <=", value, "total_invest");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andTotalInvestLike(BigDecimal value) {
            addCriterion("total_invest like ", value, "total_invest", 1);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andTotalInvestNotLike(BigDecimal value) {
            addCriterion("total_invest  not like ", value, "total_invest", 1);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andTotalInvestLeftLike(BigDecimal value) {
            addCriterion("total_invest like ", value, "total_invest", 0);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andTotalInvestNotLeftLike(BigDecimal value) {
            addCriterion("total_invest  not like ", value, "total_invest", 0);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andTotalInvestRightLike(BigDecimal value) {
            addCriterion("total_invest like ", value, "total_invest", 2);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andTotalInvestNotRightLike(BigDecimal value) {
            addCriterion("total_invest  not like ", value, "total_invest", 2);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andTotalInvestIn(List<BigDecimal> values) {
            addCriterion("total_invest  in ", values, "total_invest");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andTotalInvestNotIn(List<BigDecimal> values) {
            addCriterion("total_invest not in ", values, "total_invest");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andTotalInvestBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("total_invest between ", value1, value2, "total_invest");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andTotalInvestNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("total_invest not between ", value1, value2, "total_invest");
            return (CodeAidProjectCriteria) this;
        }
        public CodeAidProjectCriteria andPlanInvestIsNull() {
            addCriterion("plan_invest is null");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andPlanInvestIsNotNull() {
            addCriterion("plan_invest is not null");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andPlanInvestEqualTo(BigDecimal value) {
            addCriterion("plan_invest =", value, "plan_invest");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andPlanInvestNotEqualTo(BigDecimal value) {
            addCriterion("plan_invest <>", value, "plan_invest");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andPlanInvestGreaterThan(BigDecimal value) {
            addCriterion("plan_invest >", value, "plan_invest");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andPlanInvestGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("plan_invest >=", value, "plan_invest");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andPlanInvestLessThan(BigDecimal value) {
            addCriterion("plan_invest <", value, "plan_invest");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andPlanInvestLessThanOrEqualTo(BigDecimal value) {
            addCriterion("plan_invest <=", value, "plan_invest");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andPlanInvestLike(BigDecimal value) {
            addCriterion("plan_invest like ", value, "plan_invest", 1);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andPlanInvestNotLike(BigDecimal value) {
            addCriterion("plan_invest  not like ", value, "plan_invest", 1);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andPlanInvestLeftLike(BigDecimal value) {
            addCriterion("plan_invest like ", value, "plan_invest", 0);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andPlanInvestNotLeftLike(BigDecimal value) {
            addCriterion("plan_invest  not like ", value, "plan_invest", 0);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andPlanInvestRightLike(BigDecimal value) {
            addCriterion("plan_invest like ", value, "plan_invest", 2);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andPlanInvestNotRightLike(BigDecimal value) {
            addCriterion("plan_invest  not like ", value, "plan_invest", 2);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andPlanInvestIn(List<BigDecimal> values) {
            addCriterion("plan_invest  in ", values, "plan_invest");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andPlanInvestNotIn(List<BigDecimal> values) {
            addCriterion("plan_invest not in ", values, "plan_invest");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andPlanInvestBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("plan_invest between ", value1, value2, "plan_invest");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andPlanInvestNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("plan_invest not between ", value1, value2, "plan_invest");
            return (CodeAidProjectCriteria) this;
        }
        public CodeAidProjectCriteria andProjectDescIsNull() {
            addCriterion("PROJECT_DESC is null");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectDescIsNotNull() {
            addCriterion("PROJECT_DESC is not null");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectDescEqualTo(String value) {
            addCriterion("PROJECT_DESC =", value, "PROJECT_DESC");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectDescNotEqualTo(String value) {
            addCriterion("PROJECT_DESC <>", value, "PROJECT_DESC");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectDescGreaterThan(String value) {
            addCriterion("PROJECT_DESC >", value, "PROJECT_DESC");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectDescGreaterThanOrEqualTo(String value) {
            addCriterion("PROJECT_DESC >=", value, "PROJECT_DESC");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectDescLessThan(String value) {
            addCriterion("PROJECT_DESC <", value, "PROJECT_DESC");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectDescLessThanOrEqualTo(String value) {
            addCriterion("PROJECT_DESC <=", value, "PROJECT_DESC");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectDescLike(String value) {
            addCriterion("PROJECT_DESC like ", value, "PROJECT_DESC", 1);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectDescNotLike(String value) {
            addCriterion("PROJECT_DESC  not like ", value, "PROJECT_DESC", 1);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectDescLeftLike(String value) {
            addCriterion("PROJECT_DESC like ", value, "PROJECT_DESC", 0);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectDescNotLeftLike(String value) {
            addCriterion("PROJECT_DESC  not like ", value, "PROJECT_DESC", 0);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectDescRightLike(String value) {
            addCriterion("PROJECT_DESC like ", value, "PROJECT_DESC", 2);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectDescNotRightLike(String value) {
            addCriterion("PROJECT_DESC  not like ", value, "PROJECT_DESC", 2);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectDescIn(List<String> values) {
            addCriterion("PROJECT_DESC  in ", values, "PROJECT_DESC");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectDescNotIn(List<String> values) {
            addCriterion("PROJECT_DESC not in ", values, "PROJECT_DESC");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectDescBetween(String value1, String value2) {
            addCriterion("PROJECT_DESC between ", value1, value2, "PROJECT_DESC");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectDescNotBetween(String value1, String value2) {
            addCriterion("PROJECT_DESC not between ", value1, value2, "PROJECT_DESC");
            return (CodeAidProjectCriteria) this;
        }
        public CodeAidProjectCriteria andCityLeaderIsNull() {
            addCriterion("city_leader is null");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andCityLeaderIsNotNull() {
            addCriterion("city_leader is not null");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andCityLeaderEqualTo(String value) {
            addCriterion("city_leader =", value, "city_leader");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andCityLeaderNotEqualTo(String value) {
            addCriterion("city_leader <>", value, "city_leader");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andCityLeaderGreaterThan(String value) {
            addCriterion("city_leader >", value, "city_leader");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andCityLeaderGreaterThanOrEqualTo(String value) {
            addCriterion("city_leader >=", value, "city_leader");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andCityLeaderLessThan(String value) {
            addCriterion("city_leader <", value, "city_leader");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andCityLeaderLessThanOrEqualTo(String value) {
            addCriterion("city_leader <=", value, "city_leader");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andCityLeaderLike(String value) {
            addCriterion("city_leader like ", value, "city_leader", 1);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andCityLeaderNotLike(String value) {
            addCriterion("city_leader  not like ", value, "city_leader", 1);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andCityLeaderLeftLike(String value) {
            addCriterion("city_leader like ", value, "city_leader", 0);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andCityLeaderNotLeftLike(String value) {
            addCriterion("city_leader  not like ", value, "city_leader", 0);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andCityLeaderRightLike(String value) {
            addCriterion("city_leader like ", value, "city_leader", 2);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andCityLeaderNotRightLike(String value) {
            addCriterion("city_leader  not like ", value, "city_leader", 2);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andCityLeaderIn(List<String> values) {
            addCriterion("city_leader  in ", values, "city_leader");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andCityLeaderNotIn(List<String> values) {
            addCriterion("city_leader not in ", values, "city_leader");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andCityLeaderBetween(String value1, String value2) {
            addCriterion("city_leader between ", value1, value2, "city_leader");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andCityLeaderNotBetween(String value1, String value2) {
            addCriterion("city_leader not between ", value1, value2, "city_leader");
            return (CodeAidProjectCriteria) this;
        }
        public CodeAidProjectCriteria andRespDepartmentIsNull() {
            addCriterion("resp_department is null");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andRespDepartmentIsNotNull() {
            addCriterion("resp_department is not null");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andRespDepartmentEqualTo(String value) {
            addCriterion("resp_department =", value, "resp_department");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andRespDepartmentNotEqualTo(String value) {
            addCriterion("resp_department <>", value, "resp_department");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andRespDepartmentGreaterThan(String value) {
            addCriterion("resp_department >", value, "resp_department");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andRespDepartmentGreaterThanOrEqualTo(String value) {
            addCriterion("resp_department >=", value, "resp_department");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andRespDepartmentLessThan(String value) {
            addCriterion("resp_department <", value, "resp_department");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andRespDepartmentLessThanOrEqualTo(String value) {
            addCriterion("resp_department <=", value, "resp_department");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andRespDepartmentLike(String value) {
            addCriterion("resp_department like ", value, "resp_department", 1);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andRespDepartmentNotLike(String value) {
            addCriterion("resp_department  not like ", value, "resp_department", 1);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andRespDepartmentLeftLike(String value) {
            addCriterion("resp_department like ", value, "resp_department", 0);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andRespDepartmentNotLeftLike(String value) {
            addCriterion("resp_department  not like ", value, "resp_department", 0);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andRespDepartmentRightLike(String value) {
            addCriterion("resp_department like ", value, "resp_department", 2);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andRespDepartmentNotRightLike(String value) {
            addCriterion("resp_department  not like ", value, "resp_department", 2);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andRespDepartmentIn(List<String> values) {
            addCriterion("resp_department  in ", values, "resp_department");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andRespDepartmentNotIn(List<String> values) {
            addCriterion("resp_department not in ", values, "resp_department");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andRespDepartmentBetween(String value1, String value2) {
            addCriterion("resp_department between ", value1, value2, "resp_department");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andRespDepartmentNotBetween(String value1, String value2) {
            addCriterion("resp_department not between ", value1, value2, "resp_department");
            return (CodeAidProjectCriteria) this;
        }
        public CodeAidProjectCriteria andPovertyStaffIsNull() {
            addCriterion("poverty_staff is null");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andPovertyStaffIsNotNull() {
            addCriterion("poverty_staff is not null");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andPovertyStaffEqualTo(String value) {
            addCriterion("poverty_staff =", value, "poverty_staff");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andPovertyStaffNotEqualTo(String value) {
            addCriterion("poverty_staff <>", value, "poverty_staff");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andPovertyStaffGreaterThan(String value) {
            addCriterion("poverty_staff >", value, "poverty_staff");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andPovertyStaffGreaterThanOrEqualTo(String value) {
            addCriterion("poverty_staff >=", value, "poverty_staff");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andPovertyStaffLessThan(String value) {
            addCriterion("poverty_staff <", value, "poverty_staff");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andPovertyStaffLessThanOrEqualTo(String value) {
            addCriterion("poverty_staff <=", value, "poverty_staff");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andPovertyStaffLike(String value) {
            addCriterion("poverty_staff like ", value, "poverty_staff", 1);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andPovertyStaffNotLike(String value) {
            addCriterion("poverty_staff  not like ", value, "poverty_staff", 1);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andPovertyStaffLeftLike(String value) {
            addCriterion("poverty_staff like ", value, "poverty_staff", 0);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andPovertyStaffNotLeftLike(String value) {
            addCriterion("poverty_staff  not like ", value, "poverty_staff", 0);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andPovertyStaffRightLike(String value) {
            addCriterion("poverty_staff like ", value, "poverty_staff", 2);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andPovertyStaffNotRightLike(String value) {
            addCriterion("poverty_staff  not like ", value, "poverty_staff", 2);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andPovertyStaffIn(List<String> values) {
            addCriterion("poverty_staff  in ", values, "poverty_staff");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andPovertyStaffNotIn(List<String> values) {
            addCriterion("poverty_staff not in ", values, "poverty_staff");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andPovertyStaffBetween(String value1, String value2) {
            addCriterion("poverty_staff between ", value1, value2, "poverty_staff");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andPovertyStaffNotBetween(String value1, String value2) {
            addCriterion("poverty_staff not between ", value1, value2, "poverty_staff");
            return (CodeAidProjectCriteria) this;
        }
        public CodeAidProjectCriteria andPlanDateIsNull() {
            addCriterion("plan_date is null");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andPlanDateIsNotNull() {
            addCriterion("plan_date is not null");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andPlanDateEqualTo(Date value) {
            addCriterion("plan_date =", value, "plan_date");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andPlanDateNotEqualTo(Date value) {
            addCriterion("plan_date <>", value, "plan_date");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andPlanDateGreaterThan(Date value) {
            addCriterion("plan_date >", value, "plan_date");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andPlanDateGreaterThanOrEqualTo(Date value) {
            addCriterion("plan_date >=", value, "plan_date");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andPlanDateLessThan(Date value) {
            addCriterion("plan_date <", value, "plan_date");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andPlanDateLessThanOrEqualTo(Date value) {
            addCriterion("plan_date <=", value, "plan_date");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andPlanDateLike(Date value) {
            addCriterion("plan_date like ", value, "plan_date", 1);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andPlanDateNotLike(Date value) {
            addCriterion("plan_date  not like ", value, "plan_date", 1);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andPlanDateLeftLike(Date value) {
            addCriterion("plan_date like ", value, "plan_date", 0);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andPlanDateNotLeftLike(Date value) {
            addCriterion("plan_date  not like ", value, "plan_date", 0);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andPlanDateRightLike(Date value) {
            addCriterion("plan_date like ", value, "plan_date", 2);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andPlanDateNotRightLike(Date value) {
            addCriterion("plan_date  not like ", value, "plan_date", 2);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andPlanDateIn(List<Date> values) {
            addCriterion("plan_date  in ", values, "plan_date");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andPlanDateNotIn(List<Date> values) {
            addCriterion("plan_date not in ", values, "plan_date");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andPlanDateBetween(Date value1, Date value2) {
            addCriterion("plan_date between ", value1, value2, "plan_date");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andPlanDateNotBetween(Date value1, Date value2) {
            addCriterion("plan_date not between ", value1, value2, "plan_date");
            return (CodeAidProjectCriteria) this;
        }
        public CodeAidProjectCriteria andRespStaffIsNull() {
            addCriterion("RESP_STAFF is null");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andRespStaffIsNotNull() {
            addCriterion("RESP_STAFF is not null");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andRespStaffEqualTo(String value) {
            addCriterion("RESP_STAFF =", value, "RESP_STAFF");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andRespStaffNotEqualTo(String value) {
            addCriterion("RESP_STAFF <>", value, "RESP_STAFF");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andRespStaffGreaterThan(String value) {
            addCriterion("RESP_STAFF >", value, "RESP_STAFF");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andRespStaffGreaterThanOrEqualTo(String value) {
            addCriterion("RESP_STAFF >=", value, "RESP_STAFF");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andRespStaffLessThan(String value) {
            addCriterion("RESP_STAFF <", value, "RESP_STAFF");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andRespStaffLessThanOrEqualTo(String value) {
            addCriterion("RESP_STAFF <=", value, "RESP_STAFF");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andRespStaffLike(String value) {
            addCriterion("RESP_STAFF like ", value, "RESP_STAFF", 1);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andRespStaffNotLike(String value) {
            addCriterion("RESP_STAFF  not like ", value, "RESP_STAFF", 1);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andRespStaffLeftLike(String value) {
            addCriterion("RESP_STAFF like ", value, "RESP_STAFF", 0);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andRespStaffNotLeftLike(String value) {
            addCriterion("RESP_STAFF  not like ", value, "RESP_STAFF", 0);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andRespStaffRightLike(String value) {
            addCriterion("RESP_STAFF like ", value, "RESP_STAFF", 2);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andRespStaffNotRightLike(String value) {
            addCriterion("RESP_STAFF  not like ", value, "RESP_STAFF", 2);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andRespStaffIn(List<String> values) {
            addCriterion("RESP_STAFF  in ", values, "RESP_STAFF");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andRespStaffNotIn(List<String> values) {
            addCriterion("RESP_STAFF not in ", values, "RESP_STAFF");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andRespStaffBetween(String value1, String value2) {
            addCriterion("RESP_STAFF between ", value1, value2, "RESP_STAFF");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andRespStaffNotBetween(String value1, String value2) {
            addCriterion("RESP_STAFF not between ", value1, value2, "RESP_STAFF");
            return (CodeAidProjectCriteria) this;
        }
        public CodeAidProjectCriteria andProjectBelongIsNull() {
            addCriterion("PROJECT_BELONG is null");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectBelongIsNotNull() {
            addCriterion("PROJECT_BELONG is not null");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectBelongEqualTo(Integer value) {
            addCriterion("PROJECT_BELONG =", value, "PROJECT_BELONG");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectBelongNotEqualTo(Integer value) {
            addCriterion("PROJECT_BELONG <>", value, "PROJECT_BELONG");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectBelongGreaterThan(Integer value) {
            addCriterion("PROJECT_BELONG >", value, "PROJECT_BELONG");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectBelongGreaterThanOrEqualTo(Integer value) {
            addCriterion("PROJECT_BELONG >=", value, "PROJECT_BELONG");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectBelongLessThan(Integer value) {
            addCriterion("PROJECT_BELONG <", value, "PROJECT_BELONG");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectBelongLessThanOrEqualTo(Integer value) {
            addCriterion("PROJECT_BELONG <=", value, "PROJECT_BELONG");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectBelongLike(Integer value) {
            addCriterion("PROJECT_BELONG like ", value, "PROJECT_BELONG", 1);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectBelongNotLike(Integer value) {
            addCriterion("PROJECT_BELONG  not like ", value, "PROJECT_BELONG", 1);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectBelongLeftLike(Integer value) {
            addCriterion("PROJECT_BELONG like ", value, "PROJECT_BELONG", 0);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectBelongNotLeftLike(Integer value) {
            addCriterion("PROJECT_BELONG  not like ", value, "PROJECT_BELONG", 0);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectBelongRightLike(Integer value) {
            addCriterion("PROJECT_BELONG like ", value, "PROJECT_BELONG", 2);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectBelongNotRightLike(Integer value) {
            addCriterion("PROJECT_BELONG  not like ", value, "PROJECT_BELONG", 2);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectBelongIn(List<Integer> values) {
            addCriterion("PROJECT_BELONG  in ", values, "PROJECT_BELONG");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectBelongNotIn(List<Integer> values) {
            addCriterion("PROJECT_BELONG not in ", values, "PROJECT_BELONG");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectBelongBetween(Integer value1, Integer value2) {
            addCriterion("PROJECT_BELONG between ", value1, value2, "PROJECT_BELONG");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andProjectBelongNotBetween(Integer value1, Integer value2) {
            addCriterion("PROJECT_BELONG not between ", value1, value2, "PROJECT_BELONG");
            return (CodeAidProjectCriteria) this;
        }
        public CodeAidProjectCriteria andEstimatedIncomeIsNull() {
            addCriterion("ESTIMATED_INCOME is null");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andEstimatedIncomeIsNotNull() {
            addCriterion("ESTIMATED_INCOME is not null");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andEstimatedIncomeEqualTo(BigDecimal value) {
            addCriterion("ESTIMATED_INCOME =", value, "ESTIMATED_INCOME");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andEstimatedIncomeNotEqualTo(BigDecimal value) {
            addCriterion("ESTIMATED_INCOME <>", value, "ESTIMATED_INCOME");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andEstimatedIncomeGreaterThan(BigDecimal value) {
            addCriterion("ESTIMATED_INCOME >", value, "ESTIMATED_INCOME");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andEstimatedIncomeGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("ESTIMATED_INCOME >=", value, "ESTIMATED_INCOME");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andEstimatedIncomeLessThan(BigDecimal value) {
            addCriterion("ESTIMATED_INCOME <", value, "ESTIMATED_INCOME");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andEstimatedIncomeLessThanOrEqualTo(BigDecimal value) {
            addCriterion("ESTIMATED_INCOME <=", value, "ESTIMATED_INCOME");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andEstimatedIncomeLike(BigDecimal value) {
            addCriterion("ESTIMATED_INCOME like ", value, "ESTIMATED_INCOME", 1);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andEstimatedIncomeNotLike(BigDecimal value) {
            addCriterion("ESTIMATED_INCOME  not like ", value, "ESTIMATED_INCOME", 1);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andEstimatedIncomeLeftLike(BigDecimal value) {
            addCriterion("ESTIMATED_INCOME like ", value, "ESTIMATED_INCOME", 0);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andEstimatedIncomeNotLeftLike(BigDecimal value) {
            addCriterion("ESTIMATED_INCOME  not like ", value, "ESTIMATED_INCOME", 0);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andEstimatedIncomeRightLike(BigDecimal value) {
            addCriterion("ESTIMATED_INCOME like ", value, "ESTIMATED_INCOME", 2);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andEstimatedIncomeNotRightLike(BigDecimal value) {
            addCriterion("ESTIMATED_INCOME  not like ", value, "ESTIMATED_INCOME", 2);
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andEstimatedIncomeIn(List<BigDecimal> values) {
            addCriterion("ESTIMATED_INCOME  in ", values, "ESTIMATED_INCOME");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andEstimatedIncomeNotIn(List<BigDecimal> values) {
            addCriterion("ESTIMATED_INCOME not in ", values, "ESTIMATED_INCOME");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andEstimatedIncomeBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("ESTIMATED_INCOME between ", value1, value2, "ESTIMATED_INCOME");
            return (CodeAidProjectCriteria) this;
        }

        public CodeAidProjectCriteria andEstimatedIncomeNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("ESTIMATED_INCOME not between ", value1, value2, "ESTIMATED_INCOME");
            return (CodeAidProjectCriteria) this;
        }

    }

    public static class CodeAidProjectCriteria extends GeneratedCriteria {

        protected CodeAidProjectCriteria() {
            super();
        }
    }

    public static class CodeAidProjectCriterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected CodeAidProjectCriterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }
        protected CodeAidProjectCriterion(String condition, Object value, int likeType) {
            this.condition = condition;
            if (likeType == 0) {
                this.value = "%" + value;
            }
            else if (likeType == 1) {
                this.value = "%" + value + "%";
            }
            else {
                this.value = value + "%";
            }
            this.typeHandler = null;
            this.singleValue = true;

        }

        protected CodeAidProjectCriterion(String condition, Object value,
                String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            }
            else {
                this.singleValue = true;
            }
        }

        protected CodeAidProjectCriterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected CodeAidProjectCriterion(String condition, Object value,
                Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected CodeAidProjectCriterion(String condition, Object value,
                Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}